package com.ruibang.glass.quality.service;

import com.ruibang.glass.quality.domain.req.QualityContactReq;
import com.ruibang.glass.quality.entity.EngineeringChangeOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruibang.glass.quality.entity.QualityContact;
import com.teaming.cloud.framework2.common.pojo.PageRequest;
import com.teaming.cloud.framework2.common.pojo.PageResult;

/**
 * <p>
 * 工程变更单信息 服务类
 * </p>
 *
 * @author wujie
 * @since 2024-01-23
 */
public interface EngineeringChangeOrderService extends IService<EngineeringChangeOrder> {

    void saveInfo(EngineeringChangeOrder changeOrder);

    String getChangeCode();

    void updateInfo(EngineeringChangeOrder changeOrder);

    /***
     * 分页列表查询品质联络单
     * @param pageRequest
     * @return
     */
    PageResult<EngineeringChangeOrder> queryPage(PageRequest<EngineeringChangeOrder> pageRequest);


    /***
     * 获取工程变更单信息详情
     * @param changeOrderId
     * @return
     */
    EngineeringChangeOrder getDetail(String changeOrderId);
}
